package com.dmwork.service.interaction.mapper;

import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.dmwork.service.interaction.entity.CmsColor;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.dmwork.service.interaction.entity.vo.CmsColorVo;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;
import org.springframework.stereotype.Repository;

/**
 * <p>
 * 网页颜色数据表 Mapper 接口
 * </p>
 *
 * @author 李天
 * @since 2021-10-24
 */
@Mapper
@Repository
public interface CmsColorMapper extends BaseMapper<CmsColor> {

    Page<CmsColorVo> getPage(Page<CmsColorVo> selectPage);

    String getColorValueByColorKey(@Param("colorKey") String colorKey);
}
